<template>
  <div class="outer">
    <h2>{{ title }}分类</h2>
    <slot></slot>
    <h3>Footer</h3>
  </div>
</template>

<script>
  export default {
    props: ["list", "title"],
    name: "Item",
  };
</script>

<style>
  .outer {
    background: rgb(236, 193, 199);
    width: 400px;
    height: 400px;
  }
  h2 {
    background-color: rgba(255, 255, 224, 0.58);
    text-align: center;
  }
</style>
